package com.hy.service;

import com.hy.domain.FileInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hy.domain.dto.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
* @author hou
* @description 针对表【file_info(上传的文件信息)】的数据库操作Service
* @createDate 2023-04-21 14:43:12
*/
public interface FileInfoService extends IService<FileInfo> {

    R saveFile(MultipartFile file);

    R getFileByName(String fileName, HttpServletResponse response);
}
